package so.sao.code.service.infrastructure.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RangeActivationVO implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -3960506633562618658L;
    /**
     * 标签卷ID
     */
    private Long id;
    /**
     * 批次id
     */
    private Long tagBatchId;
    /**
     * 标签开始序号
     */
    private String seqnumStart;
    /**
     * 标签结束序号
     */
    private String seqnumEnd;
    /**
     * 标签状态
     */
    private Integer status;

   @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone ="GMT+8" )
    private Date created;

    private long tagBatch;

    private String tagBatchName;
    private Long brandId;
    private long productId;
    private long factoryId;
    private long franchiserId;
    private int activationMethod;
    private String activationParam;
    @JsonInclude
    private List<SeqmentCustomFieldVO> SeqmentCustomFieldList=new ArrayList<>(); 
    /**
   	 * 是否已报废,0为未报废,1为报废
   	 */
   	private Integer scrapStatus = 0;
    public Long getBrandId() {
		return brandId;
	}

	public void setBrandId(Long brandId) {
		this.brandId = brandId;
	}

	public Long getActiveCount() {
        return activeCount;
    }

    public void setActiveCount(Long activeCount) {
        this.activeCount = activeCount;
    }

    private  Long activeCount;
    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public long getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(long factoryId) {
        this.factoryId = factoryId;
    }

    public long getFranchiserId() {
        return franchiserId;
    }

    public void setFranchiserId(long franchiserId) {
        this.franchiserId = franchiserId;
    }

    public int getActivationMethod() {
        return activationMethod;
    }

    public void setActivationMethod(int activationMethod) {
        this.activationMethod = activationMethod;
    }

    public String getActivationParam() {
        return activationParam;
    }

    public void setActivationParam(String activationParam) {
        this.activationParam = activationParam;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public long getTagBatch() {
        return tagBatch;
    }

    public void setTagBatch(long tagBatch) {
        this.tagBatch = tagBatch;
    }

    public String getTagBatchName() {
        return tagBatchName;
    }

    public void setTagBatchName(String tagBatchName) {
        this.tagBatchName = tagBatchName;
    }

    public RangeActivationVO() {
        super();
    }

    public RangeActivationVO(Long tagBatchId, String seqnumStart, String seqnumEnd, Integer status) {
        super();
        this.tagBatchId = tagBatchId;
        this.seqnumStart = seqnumStart;
        this.seqnumEnd = seqnumEnd;
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTagBatchId() {
        return tagBatchId;
    }

    public void setTagBatchId(Long tagBatchId) {
        this.tagBatchId = tagBatchId;
    }

    public String getSeqnumStart() {
        return seqnumStart;
    }

    public void setSeqnumStart(String seqnumStart) {
        this.seqnumStart = seqnumStart;
    }

    public String getSeqnumEnd() {
        return seqnumEnd;
    }

    public void setSeqnumEnd(String seqnumEnd) {
        this.seqnumEnd = seqnumEnd;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

	public List<SeqmentCustomFieldVO> getSeqmentCustomFieldList() {
		return SeqmentCustomFieldList;
	}

	public void setSeqmentCustomFieldList(List<SeqmentCustomFieldVO> seqmentCustomFieldList) {
		SeqmentCustomFieldList = seqmentCustomFieldList;
	}

	public Integer getScrapStatus() {
		return scrapStatus;
	}

	public void setScrapStatus(Integer scrapStatus) {
		this.scrapStatus = scrapStatus;
	}

}

